﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;

namespace extValidation
{
    public class Validation
    {
        private static Regex check_homepage_pattern = new Regex("^http?s////[a-zA-Z0-9]");
        private static Regex check_text_pattern = new Regex("^[a-zA-Z0-9]{1,}");
        private static Regex check_email_pattern = new Regex("^[a-zA-Z0-9_.-]{1,}.[@]{1,1}.[a-zA-Z0-9_.-]{3,}.[a-z]{2,3}?/");
        private static Regex check_domainname_pattern = new Regex("");
        private static Regex check_localfile_pattern = new Regex("");
        private static Regex check_uncfile_pattern = new Regex("^\\[a-zA-Z0-9]");
        private static Regex check_relative_pattern = new Regex("");

        public Boolean check_homepage(String input){
            if (check_homepage_pattern.IsMatch(input))
            {
                return true;
            }
            else
            {
                return false;
            }
        }

        public Boolean check_text(String input){
            return false;
        }
    }
}
